<if value="!$userOrder">
						<div class="orderofRow">目前没有订单</div>
						<else/>
					
					<foreach from="$userOrder" key="$ok" value="$ov">
					<div class="orderofRow">
						<!--定单头-->
						<div class="rowTitle">
							订单总金额<strong style="margin-left:10px;">￥{$ov.count_price}</strong>
							<p>
								{$ov.order_time|date:'Y-m-d H:i:s',@@}
							</p>
						</div>
						<!--定单主体-->
						<div class="orderContent">
							<!--订单号-->
							<div class="orderNum">
								<a href="{|U:'getOrderDetails',array('sn'=>$ov['order_sn'])}" class="num" title="{$ov.order_sn}">{$ov.order_sn}</a>
								<ul> 
									<foreach from="$ov.goods" key="$ik" value="$iv">
									<li><a href="{|U:'Details/index',array('gid'=>$iv['gid'])}" title="{$iv.goods_name}"  class="dressImg" width="50" height="50" ><img src="__ROOT__/{$iv.goods_listimg}"  /></a></li>
									</foreach>
								</ul>
							</div>
							<!--付款-->
							<div class="orderPay">
								<ul>
									<li>应付： <span style="color:#9F0424">￥{$ov.count_price}</span></li>
									<li class="paystatus">
										<if value="$ov['order_status']=='未付款'">
											<a href="{|U:'Cart/pay',array('sn'=>$ov['order_sn'])}" class="nowpay">现在支付</a>
										<elseif value="$ov['order_status']=='取消订单'" />
											<span>取消订单</span>
										<elseif value="$ov['order_status']=='交易完成'" />
											<span>交易完成</span>
										<elseif value="$ov['order_status']=='已发货'" />
											<span>已发货</span>	
										<elseif value="$ov['order_status']=='已付款'" />
											<span>已付款</span>
										</if>
									</li>
									<li class="name">
										{$ov.take_man} <span class="downArrow"></span>
										<div class="addresss">
											<span class="leftArrow"></span>
											{$ov.take_addr}
										</div>
									</li>
								</ul>
							</div>
							<!--定单状态-->
							<div class="orderStatus">
								<ul>
									<li class="status">{$ov.order_status}</li>
								</ul>
							</div>
							<!--定单按钮-->
							<div class="orderBtn">
								<ul>
									<if value="$ov['order_status']=='取消订单'">
										<li><a href="javascript:;" oid="{$ov.oid}" class="hd-btn hd-btn-danger hd-btn-sm delorder">删除订单</a></li>
										<span>订单已取消</span>
										<else/>
										<if value="$ov['order_status']=='已发货' ">
											<li><a href="javascript:;" oid="{$ov.oid}" class="cancelOrder hd-btn-sm hd-btn-success" >确认收货</a></li>
										</if>
										<if value="$ov['order_status']=='交易完成' ">
											<li><a href="javascript:;" oid="{$ov.oid}" class="cancelOrder hd-btn-sm hd-btn-success" >去评价</a></li>
										</if>
										
										<if value="$ov['order_status']=='未付款'">
											<li><a href="javascript:;" oid="{$ov.oid}" class="cancelOrder hd-btn-sm hd-btn-danger" >取消订单</a></li>
										</if>
									</if>
									
								</ul>
							</div>
							<!--订单号结束-->
						</div>
					</div>
					</foreach>
					</if>